import router from "../../router/index.js";

const teacherPageJumper = {
    jumpToNewTask: () => {
        router.replace({ path: '/teachermain/newtask' });
    },
    jumpToTaskCorrect: () => {
        router.replace({ path: '/teachermain/taskcorrect' });
    },
    jumpToClassAnalysis: () => {
        router.replace({ path: '/teachermain/classanalysis' });
    },
    jumpToStudentAnalysis: () => {
        router.replace({ path: '/teachermain/studentanalysis' });
    },
    jumpToClassManage: () => {
        router.replace({ path: '/teachermain/classmanage' });
    },
    jumpToUserCenter: () => {
        router.replace({ path: '/teachermain/usercenter' });
    }
};

export default teacherPageJumper;
